package io.github.talelin.latticy.mapper;

import io.github.talelin.latticy.model.RulesDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author generator@wulongbo
 * @since 2022-08-06
 */
public interface RulesMapper extends BaseMapper<RulesDO> {

    List<RulesDO> getAllRules();

    int deleteRulesByChargeItemId(Integer chargeItemId);
}
